/**
* simpletable css
* 
* 修改记录：
* 2015-11-20 sam 增加rowdisable 样式，使得行能变成为失效状态（已同步min）
* 2016-03-07 sam 增加 tr-active 类，使其能产生激活状态（已同步min）
* 2016-04-14 sam 大幅度修改所有css样式，增加6种颜色主题，并优化显示效果，同时测试并修复各个浏览器的兼容性（已同步min）
* 2016-04-15 sam 修改对齐方式，添加针对 text-* 的对齐判断（已同步min）
*/
.simpletable{
    overflow:hidden;
    border-top:1px solid #D3D3D3;
    border-bottom:1px solid #D3D3D3;
    border-left:1px solid #D3D3D3;
    border-right:none;
    border-spacing: 0;
    border-collapse: separate;
    background:#FEFEFE;
    width:100%;
    font-family:"Microsoft YaHei",Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size:14px;
    color:#555;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    -moz-box-shadow:0 0 4px rgba(0,0,0,0.2);
    -webkit-box-shadow:0 0 4px rgba(0,0,0,0.2);
    padding:0;
}

.simpletable th{
    border-right:1px solid #E0E0E0;
    padding:18px 0;
    text-shadow: 1px 1px 1px #FFF;
    background:#D2D6DE;
    background: -moz-linear-gradient(top, #EEEEEE, #D2D6DE 20%);
    background: -webkit-linear-gradient(top, #EEEEEE, #D2D6DE 20%);
    background: -o-linear-gradient(top, #EEEEEE, #D2D6DE 20%);
    background: -ms-linear-gradient(top, #EEEEEE, #D2D6DE 20%);
}

.simpletable tfoot th{
    background: -moz-linear-gradient(top, #D2D6DE 80%, #EEEEEE);
    background: -webkit-linear-gradient(top, #D2D6DE 80%, #EEEEEE);
    background: -o-linear-gradient(top, #D2D6DE 80%, #EEEEEE);
    background: -ms-linear-gradient(top, #D2D6DE 80%, #EEEEEE);
}

.simpletable td{
    border-top:1px solid #E0E0E0;
    border-right:1px solid #E0E0E0;
    padding:18px 0;
    background: #F9F9F9;
    background: -moz-linear-gradient(top, #F9F9F9, #FEFEFE 20%);
    background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#F9F9F9), to(#FEFEFE));
}


.simpletable .tr-hover td,.simpletable .tr-active td{
    cursor:pointer;
    background: -moz-linear-gradient(top, #DFDFDF 0%, #F3F3F3 25%, #F3F3F3 75%, #DFDFDF 100%);
    background: -webkit-linear-gradient(top, #DFDFDF 0%, #F3F3F3 25%, #F3F3F3 75%, #DFDFDF 100%);
    background: -o-linear-gradient(top, #DFDFDF 0%, #F3F3F3 25%, #F3F3F3 75%, #DFDFDF 100%);
    background: -ms-linear-gradient(top, #DFDFDF 0%, #F3F3F3 25%, #F3F3F3 75%, #DFDFDF 100%);
}

/*禁用状态*/
.simpletable .tr-disable th,.simpletable .tr-disable td{
    cursor:not-allowed !important;
    color: #AAA !important;
}

/*padding 属性*/
.simpletable.nopadding th,.simpletable.nopadding td{
    padding:0;
}
.simpletable.tinypadding th,.simpletable.tinypadding td{
    padding:5px 0;
}
.simpletable.tightpadding th,.simpletable.tightpadding td{
    padding:10px 0;
}

/*主题*/
/*primary*/
.simpletable.tab-primary{
    border-color:#61A1C5;
}
.simpletable.tab-primary th{
    border-color:#61A1C5;
    background:#3C8DBC;
    background: -moz-linear-gradient(top, #61A1C5, #3C8DBC 20%);
    background: -webkit-linear-gradient(top, #61A1C5, #3C8DBC 20%);
    background: -o-linear-gradient(top, #61A1C5, #3C8DBC 20%);
    background: -ms-linear-gradient(top, #61A1C5, #3C8DBC 20%);
    color: #FFF;
    text-shadow: 1px 1px 1px #333;
}
.simpletable.tab-danger tfoot th{
    background: -moz-linear-gradient(top, #3C8DBC 80%, #61A1C5);
    background: -webkit-linear-gradient(top, #3C8DBC 80%, #61A1C5);
    background: -o-linear-gradient(top, #3C8DBC 80%, #61A1C5);
    background: -ms-linear-gradient(top, #3C8DBC 80%, #61A1C5);
}
.simpletable.tab-primary td{
    border-color:#61A1C5;
    background: #EFF7FF;
}
.simpletable.tab-primary .tr-hover td,.simpletable.tab-primary .tr-active td,
.simpletable.tab-info .tr-hover td,.simpletable.tab-info .tr-active td{
    cursor:pointer;
    background: -moz-linear-gradient(top, #B3E1FF 0%, #EFF7FF 25%, #EFF7FF 75%, #B3E1FF 100%);
    background: -webkit-linear-gradient(top, #B3E1FF 0%, #EFF7FF 25%, #EFF7FF 75%, #B3E1FF 100%);
    background: -o-linear-gradient(top, #B3E1FF 0%, #EFF7FF 25%, #EFF7FF 75%, #B3E1FF 100%);
    background: -ms-linear-gradient(top, #B3E1FF 0%, #EFF7FF 25%, #EFF7FF 75%, #B3E1FF 100%);
}
/*success*/
.simpletable.tab-success{
    border-color:#61C571;
}
.simpletable.tab-success th{
    border-color:#61C571;
    background:#00A65A;
    background: -moz-linear-gradient(top, #61C571, #00A65A 20%);
    background: -webkit-linear-gradient(top, #61C571, #00A65A 20%);
    background: -o-linear-gradient(top, #61C571, #00A65A 20%);
    background: -ms-linear-gradient(top, #61C571, #00A65A 20%);
    color: #FFF;
    text-shadow: 1px 1px 1px #333;
}
.simpletable.tab-danger tfoot th{
    background: -moz-linear-gradient(top, #00A65A 80%, #61C571);
    background: -webkit-linear-gradient(top, #00A65A 80%, #61C571);
    background: -o-linear-gradient(top, #00A65A 80%, #61C571);
    background: -ms-linear-gradient(top, #00A65A 80%, #61C571);
}
.simpletable.tab-success td{
    border-color:#61C571;
    background: #EFFFF1;
}
.simpletable.tab-success .tr-hover td,.simpletable.tab-success .tr-active td{
    cursor:pointer;
    background: -moz-linear-gradient(top, #B3FFBC 0%, #EFFFF1 25%, #EFFFF1 75%, #B3FFBC 100%);
    background: -webkit-linear-gradient(top, #B3FFBC 0%, #EFFFF1 25%, #EFFFF1 75%, #B3FFBC 100%);
    background: -o-linear-gradient(top, #B3FFBC 0%, #EFFFF1 25%, #EFFFF1 75%, #B3FFBC 100%);
    background: -ms-linear-gradient(top, #B3FFBC 0%, #EFFFF1 25%, #EFFFF1 75%, #B3FFBC 100%);
}
/*info*/
.simpletable.tab-info{
    border-color:#76E4FF;
}
.simpletable.tab-info th{
    border-color:#76E4FF;
    background:#00C0EF;
    background: -moz-linear-gradient(top, #76E4FF, #00C0EF 20%);
    background: -webkit-linear-gradient(top, #76E4FF, #00C0EF 20%);
    background: -o-linear-gradient(top, #76E4FF, #00C0EF 20%);
    background: -ms-linear-gradient(top, #76E4FF, #00C0EF 20%);
    color: #FFF;
    text-shadow: 1px 1px 1px #333;
}
.simpletable.tab-danger tfoot th{
    background: -moz-linear-gradient(top, #00C0EF 80%, #76E4FF);
    background: -webkit-linear-gradient(top, #00C0EF 80%, #76E4FF);
    background: -o-linear-gradient(top, #00C0EF 80%, #76E4FF);
    background: -ms-linear-gradient(top, #00C0EF 80%, #76E4FF);
}
.simpletable.tab-info td{
    border-color:#76E4FF;
    background: #EFF7FF;
}
/*warning*/
.simpletable.tab-warning{
    border-color:#FFDA9E;
}
.simpletable.tab-warning th{
    border-color:#FFDA9E;
    background:#F39C12;
    background: -moz-linear-gradient(top, #FFDA9E, #F39C12 20%);
    background: -webkit-linear-gradient(top, #FFDA9E, #F39C12 20%);
    background: -o-linear-gradient(top, #FFDA9E, #F39C12 20%);
    background: -ms-linear-gradient(top, #FFDA9E, #F39C12 20%);
    color: #FFF;
    text-shadow: 1px 1px 1px #333;
}
.simpletable.tab-danger tfoot th{
    background: -moz-linear-gradient(top, #F39C12 80%, #FFDA9E);
    background: -webkit-linear-gradient(top, #F39C12 80%, #FFDA9E);
    background: -o-linear-gradient(top, #F39C12 80%, #FFDA9E);
    background: -ms-linear-gradient(top, #F39C12 80%, #FFDA9E);
}
.simpletable.tab-warning td{
    border-color:#FFDA9E;
    background: #FFF9EF;
}
.simpletable.tab-warning .tr-hover td,.simpletable.tab-warning .tr-active td{
    cursor:pointer;
    background: -moz-linear-gradient(top, #FFE1B3 0%, #FFF9EF 25%, #FFF9EF 75%, #FFE1B3 100%);
    background: -webkit-linear-gradient(top, #FFE1B3 0%, #FFF9EF 25%, #FFF9EF 75%, #FFE1B3 100%);
    background: -o-linear-gradient(top, #FFE1B3 0%, #FFF9EF 25%, #FFF9EF 75%, #FFE1B3 100%);
    background: -ms-linear-gradient(top, #FFE1B3 0%, #FFF9EF 25%, #FFF9EF 75%, #FFE1B3 100%);
}
/*danger*/
.simpletable.tab-danger{
    border-color:#FFBAB2;
}
.simpletable.tab-danger th{
    border-color:#FFBAB2;
    background:#DD4B39;
    background: -moz-linear-gradient(top, #FFBAB2, #DD4B39 20%);
    background: -webkit-linear-gradient(top, #FFBAB2, #DD4B39 20%);
    background: -o-linear-gradient(top, #FFBAB2, #DD4B39 20%);
    background: -ms-linear-gradient(top, #FFBAB2, #DD4B39 20%);
    color: #FFF;
    text-shadow: 1px 1px 1px #333;
}
.simpletable.tab-danger tfoot th{
    background: -moz-linear-gradient(top, #DD4B39 80%, #FFBAB2);
    background: -webkit-linear-gradient(top, #DD4B39 80%, #FFBAB2);
    background: -o-linear-gradient(top, #DD4B39 80%, #FFBAB2);
    background: -ms-linear-gradient(top, #DD4B39 80%, #FFBAB2);
}
.simpletable.tab-danger td{
    border-color:#FFBAB2;
    background: #FFEFEF;
}
.simpletable.tab-danger .tr-hover td,.simpletable.tab-danger .tr-active td{
    cursor:pointer;
    background: -moz-linear-gradient(top, #FFB3B3 0%, #FFEFEF 25%, #FFEFEF 75%, #FFB3B3 100%);
    background: -webkit-linear-gradient(top, #FFB3B3 0%, #FFEFEF 25%, #FFEFEF 75%, #FFB3B3 100%);
    background: -o-linear-gradient(top, #FFB3B3 0%, #FFEFEF 25%, #FFEFEF 75%, #FFB3B3 100%);
    background: -ms-linear-gradient(top, #FFB3B3 0%, #FFEFEF 25%, #FFEFEF 75%, #FFB3B3 100%);
}

/*边框*/
.simpletable.noborder,.simpletable.noborder th,.simpletable.noborder td{border:none !important;}

/*对齐*/
.simpletable.text-left th,.simpletable.text-left td{
    text-align:left;
}
.simpletable.text-center th,.simpletable.text-center td{
    text-align:center;
}
.simpletable.text-right th,.simpletable.text-right td{
    text-align:right;
}

